<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>CSS Test: width:auto and height:auto on single region box</title>
    <link rel="author" title="Vincent Hardy, Adobe Systems" href="mailto:vhardy@adobe.com"/>
    <link rel="help" href="http://dev.w3.org/csswg/css3-regions/#rfcb-flow-fragment-height-resolution"/>
    <link rel="match" href="regions-auto-size-1-ref.xht"/>
    <meta name="flags" content=""/>
    <meta name="assert" content=
    "The height of a region with height:auto is computed from the fragment content"/>
    <style>
    /*<![CDATA[*/
#article {
    -webkit-flow-into: article;
    width: 200px;
    height: 500px;
    background: #c0c0c0;
}

#region {
    -webkit-flow-from: article;
    width: auto;
    height: auto;
    border: 1px solid #a0a0a0;
}

/*]]>*/
</style>
</head>
<body>
    <p>You should see a gray border box that that is as wide as the display area and contains
        a tightly fitted 200x500px on its left.</p>
    <div id="article">
    </div>
    <div id="region"></div>
</body>
</html>